package com.fanghuyun.iswaf.filter;

import java.util.Map;
import java.util.Properties;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public abstract class IsWaf {
	
	public abstract Map<String, Object> sqlInject(HttpServletRequest request,Map<String, Object> wrapper,Properties properties);
	
	public abstract boolean upload(HttpServletRequest request,Map<String, Object> wrapper,Properties properties);

	public abstract Map<String, Object> xss(HttpServletRequest request,Map<String, Object> wrapper,Properties properties);
	
	public abstract boolean server(HttpServletRequest request,HttpServletResponse response,Properties properties);
	
	public abstract boolean webshell(HttpServletRequest request,HttpServletResponse response,Properties properties);
	
	public abstract boolean struts(HttpServletRequest request,Map<String, Object> wrapper,Properties properties);

	public abstract boolean extension(HttpServletRequest request,Map<String, Object> wrapper,Properties properties);
	
	public abstract boolean fileMode(HttpServletRequest request,Map<String, Object> wrapper,Properties properties);
	
}
